﻿//商品类别
window.operateEvents = {
    'click .glcd': function (e, value, row, index) {
        MyDialog.viewform("/View/Comon/CommonView.aspx?FormCode=SPLBSX&FormID=" + row.ID, "查看属性选项");
    }
};
var option = {};
option.columns = [
             {
                 field: 'ID',
                 title: '序号'
             }, {
                 sortable: true,
                 field: 'LB1',
                 title: '类别'
             }, {
                 sortable: true,
                 field: 'LB2',
                 title: '子类别'
             }, {
                 field: 'SXName',
                 title: '类别属性',
             }, {
                 field: 'CreaterUser',
                 title: '操作',
                 formatter: function (value, row) {
                     return "<a  class='glcd' href='#'>查看属性选项</a>";
                 },
                 events: operateEvents
             }
];


